c format number to 2 digits. There are any references about c format number to 2 digits in here. you can look below.